<template>
  <div>
    <!-- 把原本放在APP.vue的文件在抽取到这里 -->
    <tab-bar>
      <tab-bar-item path="/home" acClass="#343434">
        <img src="@/assets/img/tabbar/home.svg" slot="tab-icon" />
        <img src="@/assets/img/tabbar/home_active.svg" slot="tab-icon-select" />
        <div slot="tab-title">首页</div>
      </tab-bar-item>
      <tab-bar-item path="/my" acClass="#343434">
        <img src="@/assets/img/tabbar/shopcart.svg" slot="tab-icon" />
        <img
          src="@/assets/img/tabbar/shopcart_active.svg"
          slot="tab-icon-select"
        />
        <div slot="tab-title">购物车</div>
      </tab-bar-item>

      <tab-bar-item path="/about" acClass="#343434">
        <img src="@/assets/img/tabbar/category.svg" slot="tab-icon" />
        <img
          src="@/assets/img/tabbar/category_active.svg"
          slot="tab-icon-select"
        />
        <div slot="tab-title">订单</div>
      </tab-bar-item>
      <tab-bar-item path="/order" acClass="#343434">
        <img src="@/assets/img/tabbar/profile.svg" slot="tab-icon" />
        <img
          src="@/assets/img/tabbar/profile_active.svg"
          slot="tab-icon-select"
        />
        <div slot="tab-title">我的</div>
      </tab-bar-item>
    </tab-bar>
  </div>
</template>

<script>
import TabBar from "@/components/common/tabbar/TabBar.vue";
import TabBarItem from "@/components/common/tabbar/TabBarItem.vue";
export default {
  components: {
    TabBar,
    TabBarItem,
  },
};
</script>

<style>

</style>
